package com.qf.day09;

public class Demo01 {
    public static void main(String[] args) {
        Hero hero1 = new Hero(100,30);
        Hero hero2 = new Hero(100,15);
        Hero hero3 = new Hero(100,20);
        Hero hero4 = new Hero(100,55);
        Hero hero5 = new Hero(100,10);
        Hero hero6 = new Hero(100,10);
        Hero[] teamRed = new Hero[3];
        Hero[] teamBlue = new Hero[3];
        teamBlue[0]=hero1;
        teamBlue[1]=hero2;
        teamBlue[2]=hero3;
        teamRed[0]=hero4;
        teamRed[1]=hero5;
        teamRed[2]=hero6;
        TeamPk teamPk= new TeamPkImpl();
        teamPk.teamPk(teamRed,teamBlue);

    }
}
